*{
    margin: 0;
    padding: 0;
  }
  .header{
    position: absolute;
    width: 100%;
    height: 120px;
    background: rgba(238, 15, 15, 0.759);
    padding: 10px;
    box-sizing: border-box;
    h1{
      font-size: 24px;
      color: white;
    }
    span{
      color: white;
      font-size: 12px;
    }
  }
//头部输入框
.inputBox{
    width: 100%;
    display: flex;
    margin: 10px 0;
    input{
        flex: 1;
        height: 40px;
        outline: none;
        border: none;
        border-radius: 5px;
        padding-left: 10px;
    }
    span{
        height: 30px;
        line-height: 40px;
        width: 80px;
        font-size: 16px;
        text-align: center;
    }
}
//轮播图
.swipe{
    width: 100%;
    height: 280px;
    img{
        width: 100%;
        height: 280px;
    }
}
//快捷入口
.entry{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    h3{
        width: 100%;
        font-weight: normal;
        padding-left: 10px;
        margin: 10px 0;
        font-size: 14px;
        color: red;
    }
    .classify{
        width: 20%;
        text-align: center;
        margin-bottom: 10px;
        img{
            display: block;
            margin: auto;
            border-radius: 50%;
            background: lightblue;
            width: 50px;
            height: 50px;
        }
        span{
            font-size: 14px;
        }
    }
}
//今日值得买
.seckill{
    width: 100%;
    height: 120px;
    // padding-bottom: 60px;
    img{
        width: 100%;
        height: 120px;
    }
}
//商品
.goods{
    width: 100%;
    // height: 200px;
    // background: pink;
    padding-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
    background: #f5f5f5;
    .singleGoods{
        border-radius: 10px;
        background: white;
        width: 46%;
        padding: 10px;
        margin:10px 5px;
        box-sizing: border-box;
        img{
            width: 100%;
        }
        .desc{
            font-size: 12px;
            span{
               display: inline-block;
               margin-right: 10px;
               margin-bottom: 10px;
               background: rgb(207, 202, 202);
            }
        }
        .price{
            color: red;
            font-size: 18px;
        }
        .active{
            span{
                font-size: 12px;
                display: inline-block;
                margin-right: 10px;
                border: 1px solid red;
            }
        }
    }
}
//底部
.tabbar{
    width: 100%;
    height: 60px;
    position: fixed;
    bottom: 0;
    display: flex;
    border-top: 1px solid #888;
    box-sizing: border-box;
    background: white;
    .classify{
        flex: 1;
        border: 1px solid #f5f5f5;
        display: flex;
        flex-direction: column;
        align-items: center;
        img{
            flex: 1;
            width: 40px;
            height: 40px;
        }
        span{
            flex: 1;
        }
    }
}